package smcms.service.cloudstore.feignservices;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import smcms.commons.api.entity.result.CommonsResult;
import smcms.service.cloudstore.entity.StaffInfoReq;

import javax.servlet.http.HttpServletRequest;

@FeignClient(value = "smcms-service-sso")
public interface SsoFeignService {

    @PostMapping ("/auth/getStaffListByRole")
    CommonsResult getStaffList(@RequestBody() StaffInfoReq staffInfoReq);
}
